package com.yoyosys.db.partition.query;

import com.yoyosys.db.partition.vo.PartitionInfo;

import java.sql.Connection;
import java.sql.SQLException;

/**
 * 分区分桶信息查询接口
 */
public interface PartitionQuery {
    /**
     * 查询表分区信息
     * @param conn
     * @param schemaName
     * @param tableName
     * @return
     */
    PartitionInfo getPartition(Connection conn, String schemaName, String tableName) throws SQLException;

}
